package com.base.themvx

import android.app.Application
import androidx.annotation.CallSuper
import com.base.themvx.utils.XpopupUtil
import com.lxj.xpopup.XPopup

/**
 ******************(^_^)***********************<br>
 * Author: fee(QQ/WeiXin:1176610771)<br>
 * Time: 17:49<br>
 * <P>DESC:
 * 库工程中　Application
 * </p>
 * ******************(^_^)***********************
 */
open class LibApplication : Application() {

    companion object Configs {
        lateinit var sApp: LibApplication
    }

    @CallSuper
    override fun onCreate() {
        sApp = this
        super.onCreate()

        initSdk()
    }

    @CallSuper
    open fun initSdk() {
        XpopupUtil.init(this)
    }
}